package com.example.demo.importdemo.springbean;

import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;

@Configuration
@ImportResource("classpath:beans.xml")  // 导入spring 配置
public class ImportResourceDemo {

}
